# ESTO no me deja hacerlo, debo importar las clases hijas no basta con la abstracta pues me sale error creando el objeto!!
#from Goldenberry.optimization.ga.GbCrossoverMgr.CrossoverStrategy import *
from Goldenberry.optimization.ga.GbCrossoverMgr.BinaryCrossers import OnePointBinaryCrossover 
class CrossorverContext(object):
    """description of class"""
    curr_crossover_str = None

    def __init__(self):
       self.curr_crossover_str = OnePointBinaryCrossover()

    def cross(self, parents):
        return self.curr_crossover_str.cross(parents)

    def set_curr_crossover_str(self, strategy):
        self.curr_crossover_str = strategy
